package top.maof.book.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import top.maof.book.bo.ContentsBo;
import top.maof.book.model.Book;

import java.util.List;
import java.util.Vector;


/**
 * 所有站点章节目录
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ContentsVo {
    private Book book;
    private List<ContentsBo> list = new Vector<>();

    public Boolean add(ContentsBo contentsBo) {
        return list.add(contentsBo);
    }
}
